﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RTracker.Areas.Recruitment.Models.Calling
{

    /// <summary>
    /// Class for Calling, used to get and set values of Calling properties.
    /// </summary>
    public class CCalling
    {
        Int64 m_lCallingId;
        String m_strCallingDesc;
        int m_nClient;
        int m_nDepartment;
        int m_nVacancy;
        int m_nCandidate;
        DateTime? m_dtcallTimestamp;
        int m_ncallstatus;
        int m_nOrganizationId;
        String m_strSearch;
        String m_strSearchOn;
        String m_strCallingIds;
        Boolean m_bIsSoftLocked;
        string m_strSoftlockedByName;
        string m_strHardlockedByName;
        int m_nSoftLockedBy;
        DateTime? m_dtSoftLockTimestamp;
        Boolean m_bIsHardLocked;
        int m_nHardLockedBy;
        DateTime? m_dtHardLockTimestamp;
        DateTime? m_dtCreateTimestamp;
        int m_nCreatedBy;
        string m_strCreatedByName;
        DateTime? m_dtModifiedTimestamp;
        int m_nModifiedBy;
        string m_strModifiedByName;
        Boolean m_bDeleteFlag;
        int m_nPageNumber;
        int m_nRowSize;
        String m_strSortOn;
        String m_strSortType;
        //

        /// <summary>
        /// Constructor of the class.
        /// </summary> 
        /// <date_created>7/1/2014</date_created>
        public CCalling()
        {
            m_lCallingId = 0;
            m_strCallingDesc = "";
            m_nClient = 0;
            m_nDepartment = 0;
            m_nVacancy = 0;
            m_nCandidate = 0;
            m_dtcallTimestamp = null;
            m_ncallstatus = 0;
            m_nOrganizationId = 0;
            m_strSearch ="";
            m_strSearchOn ="";
            m_strCallingIds = "";
            m_bIsSoftLocked = false;
            m_nSoftLockedBy = 0;
            m_dtSoftLockTimestamp = null;
            m_bIsHardLocked = false;
            m_nHardLockedBy = 0;
            m_dtHardLockTimestamp = null;
            m_dtCreateTimestamp = null;
            m_nCreatedBy = 0;
            m_strCreatedByName = "";
            m_dtModifiedTimestamp = null;
            m_nModifiedBy = 0;
            m_strModifiedByName = "";
            m_bDeleteFlag = false;
            m_nPageNumber = 0;
            m_nRowSize = 0;
            m_strSortOn = "";
            m_strSortType = "";
            m_strHardlockedByName = "";
            m_strSoftlockedByName = "";
        }

        /// <summary>
        /// Constructor of the class.
        /// </summary> 
        /// <date_created>7/1/2014</date_created>
        public CCalling(Int64 lCallingId, String strCallingDesc,int nClient, int nDepartment, int nVacancy, int nCandidate,DateTime? dtcallTimestamp
           , int ncallstatus, int nOrganizationId, String strSearch, String strSearchOn, String strCallingIds, Boolean bIsSoftLocked, int nSoftLockedBy
            , DateTime? dtSoftLockTimestamp, Boolean bIsHardLocked, int nHardLockedBy, DateTime? dtHardLockTimestamp, DateTime? dtCreateTimestamp
            , int nCreatedBy, DateTime? dtModifiedTimestamp, int nModifiedBy, Boolean bDeleteFlag, int nPageNumber
            , int nRowSize, String strSortOn, String strSortType, string strSoftlockedByName, string strCreatedByName, string strModifiedByName, string strHardlockedByName)
        {
            m_lCallingId = lCallingId;
            m_strCallingDesc = strCallingDesc;
            m_nClient = nClient;
            m_nDepartment = nDepartment;
            m_nVacancy = nVacancy;
            m_nCandidate = nCandidate;
            m_dtcallTimestamp = dtcallTimestamp;
            m_ncallstatus = ncallstatus;
            m_nOrganizationId = nOrganizationId;
            m_strSearch = strSearch;
            m_strSearchOn = strSearchOn;
            m_strCallingIds = strCallingIds;
            m_bIsSoftLocked = bIsSoftLocked;
            m_nSoftLockedBy = nSoftLockedBy;
            m_dtSoftLockTimestamp = dtSoftLockTimestamp;
            m_bIsHardLocked = bIsHardLocked;
            m_nHardLockedBy = nHardLockedBy;
            m_dtHardLockTimestamp = dtHardLockTimestamp;
            m_dtCreateTimestamp = dtCreateTimestamp;
            m_nCreatedBy = nCreatedBy;
            m_strCreatedByName = strCreatedByName;
            m_strModifiedByName = strModifiedByName;
            m_dtModifiedTimestamp = dtModifiedTimestamp;
            m_nModifiedBy = nModifiedBy;
            m_bDeleteFlag = bDeleteFlag;
            m_nPageNumber = nPageNumber;
            m_nRowSize = nRowSize;
            m_strSortOn = strSortOn;
            m_strSortType = strSortType;
           m_strSoftlockedByName = strSoftlockedByName;
            m_strHardlockedByName = strHardlockedByName;
        }

        /// <summary>
        /// Used to store CallingId
        /// </summary>
        public Int64 CallingId
        {
            get { return m_lCallingId; }
            set { m_lCallingId = value; }
        }
        /// <summary>
        /// Used to store CallingDesc
        /// </summary>
        public String CallingDesc
        {
            get { return m_strCallingDesc; }
            set { m_strCallingDesc = value; }
        }
        /// <summary>
        /// Used to store Client id 
        /// </summary>
        public int Client
        {
            get { return m_nClient; }
            set { m_nClient = value; }
        }

        /// <summary>
        /// Used to store Department
        /// </summary>
        public int Department
        {
            get { return m_nDepartment; }
            set { m_nDepartment = value; }
        }
        /// <summary>
        /// Used to store Vacancy
        /// </summary>
        public int Vacancy
        {
            get { return m_nVacancy; }
            set { m_nVacancy = value; }
        }
        /// <summary>
        /// Used to store Candidate
        /// </summary>
        public int Candidate
        {
            get { return m_nCandidate; }
            set { m_nCandidate = value; }
        }
        /// <summary>
        /// Used to store CallTimestamp
        /// </summary>

        public DateTime? CallTimeStamp
        {
            get { return m_dtcallTimestamp; }
            set { m_dtcallTimestamp = value; }
        }
        /// <summary>
        /// used to store call status
        /// </summary>
        public int CallStatus
        {
            get { return m_ncallstatus; }
            set { m_ncallstatus = value; }
        }
        /// <summary>
        /// used to store Organization id 
        /// </summary>
        public int OrganizationId
        {
            get { return m_nOrganizationId; }
            set { m_nOrganizationId = value; }
        }

        /// <summary>
        /// Field  to be  search
        /// </summary>
        public String Search
        {
            get { return m_strSearch; }
            set { m_strSearch = value; }
        }

        /// <summary>
        ///  Field on  search
        /// </summary>
        public String SearchOn
        {
            get { return m_strSearchOn; }
            set { m_strSearchOn = value; }
        }
        

        /// <summary>
        /// Used to store CallingIds
        /// </summary>
        public String CallingIds
        {
            get { return m_strCallingIds; }
            set { m_strCallingIds = value; }
        }

       


            

        /// <summary>
        /// Used to store CreatedBy
        /// </summary>
        public Boolean IsSoftLocked
        {
            get { return m_bIsSoftLocked; }
            set { m_bIsSoftLocked = value; }
        }
        /// <summary>
        /// Used to store SoftLockedBy
        /// </summary>
        public int SoftLockedBy
        {
            get { return m_nSoftLockedBy; }
            set { m_nSoftLockedBy = value; }
        }
        /// <summary>
        /// Used to store SoftLockTimestamp
        /// </summary>
        public DateTime? SoftLockTimestamp
        {
            get { return m_dtSoftLockTimestamp; }
            set { m_dtSoftLockTimestamp = value; }
        }
        /// <summary>
        /// Used to store IsHardLocked
        /// </summary>
        public Boolean IsHardLocked
        {
            get { return m_bIsHardLocked; }
            set { m_bIsHardLocked = value; }
        }
        /// <summary>
        /// Used to store username who owns the softlock.
        /// </summary>
        public string SoftLockedByName
        {
            get { return m_strSoftlockedByName; }
            set { m_strSoftlockedByName = value; }
        }
        /// <summary>
        /// Used to store username who owns the hardlock.
        /// </summary>
        public string HardLockedByName
        {
            get { return m_strHardlockedByName; }
            set { m_strHardlockedByName = value; }
        }
        /// <summary>
        /// Used to store HardLockedBy
        /// </summary>
        public int HardLockedBy
        {
            get { return m_nHardLockedBy; }
            set { m_nHardLockedBy = value; }
        }
        /// <summary>
        /// Used to store HardLockTimestamp
        /// </summary>
        public DateTime? HardLockTimestamp
        {
            get { return m_dtHardLockTimestamp; }
            set { m_dtHardLockTimestamp = value; }
        }
        /// <summary>
        /// Used to store CreateTimestamp
        /// </summary>
        public DateTime? CreateTimestamp
        {
            get { return m_dtCreateTimestamp; }
            set { m_dtCreateTimestamp = value; }
        }
        /// <summary>
        /// Used to store CreatedBy
        /// </summary>
        public int CreatedBy
        {
            get { return m_nCreatedBy; }
            set { m_nCreatedBy = value; }
        }
        /// <summary>
        /// Used to store CreatedBy Name
        /// </summary>
        public string CreatedByName
        {

            get { return m_strCreatedByName; }
            set { m_strCreatedByName = value; }
        }
        /// <summary>
        /// Used to store ModifiedBy Name
        /// </summary>
        public string ModifiedByName
        {

            get { return m_strModifiedByName; }
            set { m_strModifiedByName = value; }
        }
        /// <summary>
        /// Used to store ModifiedTimestamp
        /// </summary>
        public DateTime? ModifiedTimestamp
        {
            get { return m_dtModifiedTimestamp; }
            set { m_dtModifiedTimestamp = value; }
        }
        /// <summary>
        /// Used to store ModifiedBy
        /// </summary>
        public int ModifiedBy
        {
            get { return m_nModifiedBy; }
            set { m_nModifiedBy = value; }
        }
        /// <summary>
        /// Used to store DeleteFlag
        /// </summary>
        public Boolean DeleteFlag
        {
            get { return m_bDeleteFlag; }
            set { m_bDeleteFlag = value; }
        }
        /// <summary>
        /// Used to store PageNumber
        /// </summary>
        public int PageNumber
        {
            get { return m_nPageNumber; }
            set { m_nPageNumber = value; }
        }
        /// <summary>
        /// Used to store RowSize
        /// </summary>
        public int RowSize
        {
            get { return m_nRowSize; }
            set { m_nRowSize = value; }
        }
        /// <summary>
        /// Used to store SortOn
        /// </summary>
        public String SortOn
        {
            get { return m_strSortOn; }
            set { m_strSortOn = value; }
        }
        /// <summary>
        /// Used to store SortType
        /// </summary>
        public String SortType
        {
            get { return m_strSortType; }
            set { m_strSortType = value; }
        }
        /// <summary>
        /// Used to store Condition
        /// </summary>
    }

}